title: Execute jquery animate only one time
body: <p>I've the following function:</p>
  
  <pre><code>$('.link1').click(function(){
      $("#div2").slideUp(function(){$("#div1").slideToggle();});
      $('html, body').animate({scrollTop: '600px'}, 800);
  });
  </code></pre>
  
  <p>It toggles a div and scroll the page down. The problem is that everytime the user toggles the page scroll down again...how could I run this animate function only at first click?</p>