Allow resizing of terminal window

This simply redraws the same window, but ncurses
will have updated all variables.

Fixes #4
Select the last line correctly on page down

If we are on the last page and do Pagedown again,
we select the last available line

Fixes #14
Merge pull request #15 from Youx/hugo/fix_select_last_line_page_down

Select the last line correctly on page down
Merge pull request #13 from Youx/hugo/window_resize

Allow resizing of terminal window