Thought to be the side to side swaying of the railroad train.
See also Join the birds.
This bit of jargon has been viewed 8,200 times.
Return To Railroad Jargon