title: Deeplinking Infinitely Scrolled Pages
body: <p>I'm creating a infinitely scrolled page that recursively loads and append the next page's content into the current page. I think the browsing experience can be great and immersive but the current method is not without usability drawbacks.</p>
  
  <p>Incomplete progressive enhancement. It is always good to support the back button and provide deep linking when using Ajax. The current implementations of infinite scroll does not support this. There is no way a state can be bookmarked.</p>
  
  <p>Some ideas on improving the UX of infinite scroll. Need opinion.</p>
  
  <ol>
  <li>Change the URL hash with each load, e.g. /!#/2 -> /!#/3</li>
  <li>Clicking the back button should scroll the page upwards. Clicking forward button should scroll it down.</li>
  <li>Accessing a deep link should behave like it was before Ajax. Going to and also starting at page 3 should show only page 3 content and not page 2 and 1, since the user is not asking for them.</li>
  <li>There should still be a way for him go to page 2 and 1, like if it was regular pagination. Since page 3 is loaded with scrollTop at 0, the scroll up event is not useful. For this we might still need a clickable link.</li>
  <li>We need to check if the requested page number is greater than the current because we should not loaded page 2's content at the end of page 3.</li>
  </ol>
  
  <p>What do you guys think?</p>