i kept my grasp on him and the narrow ledge while i swung a leg up , wedging my foot between the split in the doors that protected those waiting for an elevator from the dangers of the shaft on the other side .