title: Implementing jQuery's shake effect with animate
body: <p>I've been given a cut down subset of the jQuery lib one of the key features I'm missing is the <code>.effect</code> functions. I do however have <code>.animate</code>. I was wondering if anyone would have any ideas how I could go about reproducing the animation functions.</p>
  
  <p>I am particularly consious of making this only a few lines as I need to keep the code size down. Which is why the jquery lib is as small as it is and doesnt have the effects functions.</p>
  
  <p>TLDR - I'm trying to replace </p>
  
  <pre><code> $("#"+id_string).effect( "shake", {}, "fast" );
  </code></pre>
  
  <p>With something using <code>.animate</code> within jQuery.</p>