fix pageup/pagedown. closes #2074
the same technique can be applied to any other missing keys