javascript 'over-clicking' bug
<p>I have a bug in Javascript where I am animating the margin left property of a parent container to show its child divs in a sort of next/previous fashion. Problem is if clicking 'next' at a high frequency the if statement seems to be ignored (i.e. only works if click, wait for animation, then click again) :</p>

<pre><code> if (marLeft === (-combinedWidth + (regWidth) + "px")) {

                           //roll margin back to 0

                        } 
</code></pre>

<p>An example can be seen on jsFiddle - <a href="http://jsfiddle.net/ZQg5V/" rel="nofollow">http://jsfiddle.net/ZQg5V/</a></p>

<p>Any help would be appreciated.</p>
