update: when an arrow key is pressed, move to the next intersection