             if (viewportGroup && viewportGroup.layout && viewportGroup.layout.useVirtualLayout)
                 viewportGroup.invalidateSize();
             
-            invalidationCount += 1; 
+            invalidationCount++; 
         }
         else
             invalidationCount = 0;
-             
+        
         target.setContentSize(w, h);
     }
 

        const scroller:Scroller = getScroller();
        if (!scroller) 
            return;
            
        const minViewportInset:Number = scroller.minViewportInset;
        const measuredSizeIncludesScrollBars:Boolean = scroller.measuredSizeIncludesScrollBars && (scroller.getStyle("interactionMode") == InteractionMode.MOUSE);

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

