title: Vertically wrap around scroll in jquery
body: <p>I am trying to make a webpage which scrolls content, and when it reaches the bottom of the content continue to scroll the bottom off the page, while scrolling the top back on - so the bottom and the top will be on screen at the same time. Like the <code>&lt;marquee&gt;</code> tag, but vertically.</p>
  
  <p>Only stuff I've managed to think up so far is (on load I use <code>setInterval()</code> to run this every 75ms)</p>
  
  <pre><code>function doScroll() {
  
  window.scrollBy(0,1);
  
  if($(window).scrollTop() + $(window).height() == $(document).height()) {
      window.scrollTo(0,0);   
  }
  
  
  }
  </code></pre>