memory: support page up and page down key