Removed global width and height properties. They were fairly useless.
Added the initial page property for local storage caching.
Debug information to prove #14.

totalHeight is being outputted and it is not changing on runs.