HTML5 History API with infinite Scroll and Tracking

Using @TimSeverien's Infinite Scroll + Pagination Experiment, I added a function that reflects the current page in the URL address bar. Came up with a semi-elegant solution but it works:)

Beneficial for SEO usage on single-page websites, as content is loaded while scrolling but the appearance is single-page. Infinite scrolling is limited to 14 pages, to accomodate the number of sections.