Added support for page up, page down, home and end keys.