Track keypress to set direction of focus change

Now taking arrow keys into account when changing focus, when the user is
stuck in a bogus tag