added key navigation through pagination