ssh-menu: Improve handling of long menus

ssh-menu had no proper support for the case where the number of
menu entries (plus the table head) exceeded the number of lines
of the terminal window. This commit fixes this issue. Additionally
support for page up/page down keys for scrolling is added.