added support for page up and page down in zoomed mode