title: Slide a div from right to left using animate()
body: <p>I want a div <code>'.whole'</code> to animate (slide from right to left)</p>
  
  <p>jQuery</p>
  
  <pre><code>$('#menu').click(function() {
        $('.whole').toggleClass('r2');
        $('#slideMenu').toggle();
  });
  
  .r2 { right: 200px }
  </code></pre>
  
  <p>I am not able to use the function animate() properly.</p>