Prevent the infinite scroll from freezing everything.

Listening to visibityChange without debouncing is not a good idea.
The whole thing still feels hacky though.