Implement cursor hiding on scroll

This begins to address #662, by hiding the cursor when the page is
scrolled to prevent a distracting cursor and accidentally triggering
hover effects.
`Element.remove()` is a no-op if `Element.parentNode` is `null`, and keeps it nice and simple. Should I change it?