Calls the given handler with the direction to move when the up or down arrow key is pressed while active.
Calls the given handler with the direction to move when the up or down arrow key is pressed while active.