ui: added support for page up/down, home and end keys