Added arrow key input to the menu