Accordion Commute

A puzzle by David Wells:

Every day I take the subway from Startville to Endville. Today I arrived at the Startville station to find that my train was just departing. I caught the next train to Endville, where I left the station at exactly the same time as if I had caught the first train. How did I manage this? The two trains traveled at the same speed, and I myself did not have to rush to make up the lost time.

Click for Answer