fix arrow key navigation direction