title: jquery - back to top
body: <p>I see this fiddle sample <a href="http://jsfiddle.net/robert/fjXSq/" rel="noreferrer">here</a></p>
  
  <p>I want when "to the top" appear, an click! should scroll to the top smoothly or slow </p>
  
  <pre><code>$(window).scroll(function() {
      if ($(this).scrollTop()) {
          $('#toTop').fadeIn();
      } else {
          $('#toTop').fadeOut();
      }
  });
  </code></pre>