Jquery animate scrolling not working properly
<p>I have a div with a table inside and several content divs in cells. This div has a vertical scroll bar that I would like to move via jquery code. I have some animation code that does move the scroll bar after clicking an anchor link. However the scroll bar movement is not consistent and only rarely goes to my desired div. Also the behavior is inconsistent as the scroll bar will move to a different location if I click on a link more than once. Note all of the divs are "stacked" in rows in my table. I've included the code for the javascript below.</p>

<pre><code>$('#groupScroller').animate({ scrollTop: $(selector).offset().top }, 'slow');
</code></pre>
