     /**
      *  @private
      * 
-     *  If the element at index i is non-null and includeInLayout,
-     *  then return it's actual bounds, otherwise return null.
-     */
-    private function layoutElementBounds(g:GroupBase, i:int):Rectangle
-    {
-        if (useVirtualLayout)
-            return llv.getBounds(i);  
-        {        
-            var element:ILayoutElement = g.getElementAt(i);
-            if (element && element.includeInLayout)
-            {
-                return new Rectangle(element.getLayoutBoundsX(),
-                                     element.getLayoutBoundsY(),
-                                     element.getLayoutBoundsWidth(),
-                                     element.getLayoutBoundsHeight());        
-            }
-        }
-        return null;    
-    }
-
-    /**
-     *  @private
-     * 
      *  Returns the actual position/size Rectangle of the first partially 
      *  visible or not-visible, non-null includeInLayout element, beginning
      *  with the element at index i, searching in direction dir (dir must

    /**
     *  @private 
     */
    override protected function elementBoundsLeftOfScrollRect(scrollRect:Rectangle):Rectangle
    {
        return findLayoutElementBounds(target, firstIndexInView, -1, scrollRect);
    } 

    /**
     *  @private 
     */
    override protected function getElementBoundsRightOfScrollRect(scrollRect:Rectangle):Rectangle
    {
        return findLayoutElementBounds(target, lastIndexInView, +1, scrollRect);
    } 
