title: How to set bottom limit to jQuery floating div
body: <p>I have a <code>div</code> that <code>animate</code>s up and down as you <code>scroll</code>, here's the code, </p>
  
  <pre><code>$(document).ready(function(){
      $(window).scroll(function () {
        set = $(document).scrollTop()+"px";
              $('#bymail-inner').animate({top:set},{duration:500,queue:false});
      });
  });
  </code></pre>
  
  <p>It works really great, however is there a way to stop it once it has reached close to the bottom of the page?</p>