 {
 import flash.geom.Rectangle;
 
+import mx.collections.IList;
 import mx.events.CollectionEvent;
 import mx.events.CollectionEventKind;
-import mx.collections.IList;
 
 public class GridDimensions 
 {

            }
            
            // check if target Y is within default row heights range.
            if (targetY >= currentY && targetY < nextY)
            {
                index = index - Math.ceil(Number(currentY - targetY)/(defaultRowHeight + rowGap));
                break;
            }
            

        else
            index = getNextRowIndexAt(y, recentNode, startY);
        
        return index < _rowCount ? index : -1;
    }
    
    /**
