Scrolling up/down with scroll_{up,down} shortcuts didn't work correctly,
because the form widget used its own shortcuts. This commit refactors
the cursor logic.
Reference used was WHATIS PARSING section in lexgrog(1).
This change enables the manual page to be returned with a whatis(1)
query:
$ whatis meli
meli (1) - terminal e-mail client