Use W&S to move up and down, don't stray from the road, and don't get hit by the obstacles. Touch the cages to release the animals inside.
(I know the road starts acting weird late game, just a result of the game speeding up)