KeyDown handler for next and previous page