title: Why does scrollTop only scrolls half way down?
body: <p>I have an error on a jQuery snippet and I am no jQuery expert.  I have a scrolling div which will auto scroll with the following function.</p>
  
  <pre><code>// When DOM is fully loaded
  jQuery(document).ready(function ($) {
  
      function scroll(speed) {
          $('.shooter-scroller').animate({
              scrollTop: $(document).height() - $('.shooter-scroller').height()
          }, fast, function () {
              $(this).animate({
                  scrollTop: 0
              }, speed);
          });
      }
  
      speed = 15000;
  
      scroll(speed)
      setInterval(function () {
          scroll(speed)
      }, speed * 2);
  });
  </code></pre>
  
  <p>I need to do 2 things with this script but would LOVE some help if people can help at all.  </p>
  
  <p>For some reason the scrolling stops halfway down the div and doesnt show all the content in the div and I would like to get the scroll to reset back to the top of the content once it has got to the bottom.  Is this possible at all?  </p>
  
  <p>Any help would be amazing!</p>
  
  <p>Fiddle: <a href="http://jsfiddle.net/andysimps1985/gn1a2kn7/1/" rel="nofollow">http://jsfiddle.net/andysimps1985/gn1a2kn7/1/</a></p>
  
  <p>Thanks in advance.</p>