title: Why my object isn't hide in scrollTo jQuery?
body: <p>I have no idea why my browser don't hide the scroll up icon when is on the top of site. Can someone tell me more about it?</p>
  
  <pre><code>&lt;script&gt;
  
      jQuery(function($)
      {
          $.scrollTo(0);
          $('.tothetop').click(function() {$.scrollTo($('body'), 1000); });
      }
      );
  
      $(window).scroll(function()
      {
          if($(this).scrollTop()&gt;300) $('.tothetop').fadeIn().top;
          else $('.tothetop').fadeOut();      
      }
      );
  
  &lt;/script&gt;
  </code></pre>
  
  <p>.tothetop class is a target of  marker.</p>