add arrow key events