Why do you lift your feet when going over railroad tracks?

The top of the rail is a polished flat steel surface with very little friction to assist in traction. You step over the rails because as you put your weight down on the top of the rail your foot may slip out from under you. The opposite rail is just the right distance to smack you right in the back of the head.