add key events left and right arrow