added left/right arrow key movement input