Handle pgup/pgdn: scroll list up/down.
Handle begin/end: scroll to top/bottom.