I see what you mean. I believe I've corrected that, clear your cache and refresh the demo before putting it through its paces again to test for glitches. Aside from the (I hope obvious) script changes, I added a class to the last menu item:
Code:
<li><a href="http://www.javascriptkit.com" class="last" title="JavaScript">JavaScript</a></li>
to serve as a flag for when the last item has completed the initial animation. Don't worry about the proliferation of possible classes for the links (now at top, selected, and last). The code should perform just fine with multiple classes wherever they may be desired, example:
Code:
<li><a href="http://www.javascriptkit.com" class="selected last" title="JavaScript">JavaScript</a></li>
Bookmarks