modify moveLeft moveRight to preventDefault