Check once a function is complete
<p>I have a lit of offsets for a div that I load when a link is clicked to give a comic book style effect.  Each offset activates other animations to give a more dynamic feel.</p>

<p>I am now looking to change it so that to move from offset 0 to offset 2 will move via offset 1.  To add to the complexity, I don't want the secondary animations at offset 1 to go off in this instance.</p>

<p>The problem, therefore, is that I need to activate the sliding function and then activate it again once the current one is complete.  Is there a way for me to know this?  Also, is there an easy way to reverse the animation so it will occur the next time they go to that offset?</p>

<p>If I am going about this the wrong way, please feel free to tell me.</p>
