Employee had his head outside the door of the shuttlewagon to see the rail tracks to align the wheels. As he aligned the wheels, the shuttlewagon slipped off the track causing the door to shut and the latch to hit him in his head. This resulted in a laceration needing two stitches.