title: jQuery ScrollTop acceleration
body: <p>I have a jquery script for scrollTop and trying to work out why it accelerates after it starts.  It starts of slow and then gets faster. </p>
  
  <p>Is there a way to stop the lag at the beginning and make it the same speed throughout the whole scroll?</p>
  
  <pre><code>// When DOM is fully loaded
  jQuery(document).ready(function ($) {
      function scroll(speed) {
          $('.shooter-scroller').animate({ scrollTop: $('.shooter-scroller').prop('scrollHeight') }, speed, function() {
              $(this).animate({ scrollTop: 0 }, speed);
          });
      }
      speed = 80000;
  
      scroll(speed)
      setInterval(function(){scroll(speed)}, speed * 2);      
  });
  </code></pre>
  
  <p>Fiddle below:</p>
  
  <p><a href="http://jsfiddle.net/andysimps1985/gn1a2kn7/10/" rel="nofollow">http://jsfiddle.net/andysimps1985/gn1a2kn7/10/</a></p>