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.
This is called a lot, and most of the time it should be a no-op.  It'd be better to capture that in the logic.