title: scrollTop animation without jquery
body: <p>I'm trying to make an animated "scroll to top" effect without using jQuery.</p>
  
  <p>In jQuery, I usually use this code:</p>
  
  <pre><code>$('#go-to-top').click(function(){ 
        $('html,body').animate({ scrollTop: 0 }, 400);
        return false; 
  });
  </code></pre>
  
  <p>How do I animate scrollTop without using jQuery?</p>