                 ((y < maxVisibleY) && ((y + dy) > minVisibleY)) || 
                 ((dy <= 0) && ((y == maxVisibleY) || (y == minVisibleY))))
             {
-            	visibleRows += 1;
-            	if (firstRowInView == -1)
-            	   firstRowInView = lastRowInView = index;
-            	else
-            	   lastRowInView = index;
+                visibleRows += 1;
+                if (firstRowInView == -1)
+                   firstRowInView = lastRowInView = index;
+                else
+                   lastRowInView = index;
             }
             y += dy + gap;
         }


class LayoutElementFlexChildInfo extends FlexChildInfo
{
    public var layoutElement:ILayoutElement;	
}


    private static function calculatePercentWidth(layoutElement:ILayoutElement, width:Number):Number
    {
        var percentWidth:Number = LayoutElementHelper.pinBetween(Math.round(layoutElement.percentWidth * 0.01 * width),
                                                                 layoutElement.getMinBoundsWidth(),
                                                                 layoutElement.getMaxBoundsWidth() );
        return percentWidth < width ? percentWidth : width;
    }
    
    private static function sizeLayoutElement(layoutElement:ILayoutElement, width:Number, 
