         {
             var vsbW:Number = vsb.getPreferredBoundsWidth(); 
             var vsbH:Number = hsbVisible ? h - hsb.getPreferredBoundsHeight() : h;
-			vsb.setLayoutBoundsSize(vsbW, Math.max(vsb.getMinBoundsHeight(), vsbH));
-			
+			vsb.setLayoutBoundsSize(vsbW, Math.max(vsb.getMinBoundsHeight(), vsbH));		
 			vsb.setLayoutBoundsPosition(w - vsbW, 0);
         }
 

    //
    //--------------------------------------------------------------------------   

    /**
     *  @private
     *  Used by updateDisplayList() to prevent looping.
     */
    private var invalidationCount:int = 0;
    
    /**
     *  @private
     */

        else 
            viewportH = explicitViewportH;
        
		// Layout the viewport and scrollbars.
		if (viewport)
		{
			viewport.setLayoutBoundsSize(viewportW, viewportH);
			viewport.setLayoutBoundsPosition(minViewportInset, minViewportInset);
		}
		
        if (hsbVisible)
        {
			var hsbH:Number = hsb.getPreferredBoundsHeight();
            var hsbW:Number = vsbVisible ? w - vsb.getPreferredBoundsWidth() : w;
            hsb.setLayoutBoundsSize(Math.max(hsb.getMinBoundsWidth(), hsbW), hsbH);           
			hsb.setLayoutBoundsPosition(0, h - hsbH);
        }

