add pgup/pgdn keys and fix history in multiline edits

you can fake `window.scrollBy` on elements by doing `element.scrollTop += amount`