title: Add delay for addClass
body: <p>By click I move an element outside of the browser window. After this animation I'd like to add a class to this element, but unfortunately the new class is already added as I click to the moving icon.</p>
  
  <p>My Code:</p>
  
  <pre><code>$('#nav').click(function() {
  $( "#wrapper" ).animate({ marginLeft: "-80%" }, "slow" );
  $( "#nav_mob" ).show();
  $( "#nav_mob" ).animate({ right: "-20%" }, "slow" );
  $('.content').delay(2000).addClass("fixed");            
  })
  </code></pre>
  
  <p>Can anyone help me?</p>