title: Jquery animate duration: movement not smooth enought
body: <p>This is the firt time that I'm writing here. I have some problems with the JQuery animate: when the duration is really slow (for example, 10000) the movements are not smooth enought. I need a "natural" movement for my div. Does someone know a solution for my problem? Or could you advice me about what to do? Thanks!!!!
  The code is something like this:</p>
  
  <pre><code>function moveFoo(){
      var timeFoo = setInterval(function(){
          var $foo = $("#foo");
          $foo.animate({"top": "-=10px"}, 20000, "linear");
          $foo.animate({"top": "+=10px"}, 20000, "linear");
      }, 1);
  };
  moveFoo();
  </code></pre>