title: Autoscroll reset to form endless vertical loop
body: <p>I'm looking to reset my vertical scroller. Basically once it reaches the end I haven't been able to transition it through again. An endless loop if you will. </p>
  
  <p>Below is my script</p>
  
  <pre><code>    jQuery(document).ready(function(){
  var div = jQuery('.scroll');
  setInterval(function(){
      var pos = div.scrollTop();
      div.scrollTop(pos + 2);
  }, 200)
  });
  </code></pre>
  
  <p>What I was thinking was resetting like below, but that didn't work.</p>
  
  <pre><code>jQuery(document).ready(function(){
  var div = jQuery('.scroll');
  setInterval(function(){
      var pos = div.scrollTop();
      div.scrollTop(pos + 2);
  }, 200)
  scrollTop =0;
  });
  </code></pre>
  
  <p>HTML Structure</p>
  
  <pre><code>&lt;div class="scroll"&gt;
    test 
     &lt;br&gt;&lt;br&gt;   test 0
     &lt;br&gt;&lt;br&gt;   test 1
     &lt;br&gt;&lt;br&gt;   test 2
     &lt;br&gt;&lt;br&gt;   test 3
     &lt;br&gt;&lt;br&gt;  test 4
   &lt;/div&gt;
  </code></pre>