Fixed checkScroll and restructured the code

It still needs a little work.

- There's a variable named `Node` that searches for the existence of a `page` class. The variable needs to be named something else, but I don't know what page that is.
- I removed the placeholder image, but it looks like there's one in `other/` that should have been used. I'm not sure how to load an image in the project, but it shouldn't be difficult.


After I had gotten into it, my curiosity took over and I couldn't resist. It reminded me of this, actually:
[![](http://imgs.xkcd.com/comics/nerd_sniping.png)](https://xkcd.com/356/)