                 }
             }
         }
+        if (verticalScrollBar)
+        {
+            verticalScrollBar.contentMinimum = minVerticalScrollPosition;
+            verticalScrollBar.contentMaximum = maxVerticalScrollPosition;
+        }
+        if (horizontalScrollBar)
+        {
+            horizontalScrollBar.contentMinimum = minHorizontalScrollPosition;
+            horizontalScrollBar.contentMaximum = maxHorizontalScrollPosition;
+        }
     }
 
     /**

        
        if (pageScrollingChanged)
        {
            determineCurrentPageScrollPosition();
            pageScrollingChanged = false;
        }
        
        if (snappingModeChanged)
        {
            snapContentScrollPosition();
            snappingModeChanged = false;                
        }

            verticalScrollBar.viewport = viewport;
            if (liveScrollingSet)
                verticalScrollBar.setStyle("liveDragging", Boolean(liveScrolling));
            verticalScrollBar.contentMinimum = minVerticalScrollPosition;
            verticalScrollBar.contentMaximum = maxVerticalScrollPosition; 
        }
        else if (instance == horizontalScrollBar)
        {
            horizontalScrollBar.viewport = viewport;
            if (liveScrollingSet)
                horizontalScrollBar.setStyle("liveDragging", Boolean(liveScrolling));            
            horizontalScrollBar.contentMinimum = minHorizontalScrollPosition;
            horizontalScrollBar.contentMaximum = maxHorizontalScrollPosition; 
        }
    }
    
