         {
             targets.push(verticalScrollBar);
         }
+        
+        // we keep track of hideScrollBarAnimationPrematurelyStopped so that we know 
+        // if the effect ended naturally or if we prematurely called stop()
+        hideScrollBarAnimationPrematurelyStopped = false;
         
         hideScrollBarAnimation.play(targets);
     }

     */
    private function hideScrollBarAnimation_effectEndHandler(event:EffectEvent):void
    {
        // now get rid of the scrollbars visibility
        horizontalScrollInProgress = false;
        verticalScrollInProgress = false;

     */
    private var hideScrollBarAnimation:Animate;
    
    /**
     *  @private
     *  Use to figure out whether the animation ended naturally and finished or 
     *  whether we called stop() on it.  Unfortunately, we get an EFFECT_END in 
     *  both cases, so we must keep track of it ourselves.
     */
    private var hideScrollBarAnimationPrematurelyStopped:Boolean;
    
    //--------------------------------------------------------------------------
    //
    //  Properties
