         {
             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 var hideScrollBarAnimation:Animate;
    
    //--------------------------------------------------------------------------
    //
    //  Properties

     */
    private function hideScrollBarAnimation_effectEndHandler(event:EffectEvent):void
    {
        // distinguish between if we called stop() and if the effect ended naturally
        if (hideScrollBarAnimationPrematurelyStopped)
            return;
        
        // now get rid of the scrollbars visibility
        horizontalScrollInProgress = false;
        verticalScrollInProgress = false;
