implement moveLeft, moveRight