Added support to move in both directions, up and down.