An apparatus comprises a medial rail having a plurality of openings through the medial rail for receiving pins, screws or wires. An arm is pivotally mounted to the medial rail. The arm has at least a first track on a first side. A post has a connector slidably mounted to the first track of the arm for movement along the first track. A guide is slidably mounted for movement along the post. The guide has at least one opening through it and at least one pin for engaging a bone of a patient.