each step in the escalator has two sets of wheels, which roll along two separate tracks. the upper set (the wheels near the top of the step) are connected to the rotating chains, and so are pulled by the drive gear at the top of the escalator. the other set of wheels simply glides along its track, following behind the first set.

so.......