      *  @param leftOffset Number of pixels to position the element to the right of the left edge.
      *  @param rightOffset Number of pixels to position the element to the left of the right edge.
      */ 
-    mx_internal function getScrollPositionDeltaToElementHelper(index:int, topOffset:Number = NaN, 
+    mx_internal function getScrollPositionDeltaToElementHelper(index:int, 
+                                                               topOffset:Number = NaN, 
                                                                bottomOffset:Number = NaN, 
                                                                leftOffset:Number = NaN,
                                                                rightOffset:Number = NaN):Point
     {
         var elementR:Rectangle = getElementBounds(index);
         return getScrollPositionDeltaToElementHelperHelper(
-                                                elementR, 
+                                                elementR, null,
                                                 topOffset, bottomOffset, 
                                                 leftOffset, rightOffset);
     }

            dx = 0;
        else if ((elementR.bottom >= scrollR.bottom) && (elementR.top <= scrollR.top))
            dy = 0;
        
        return new Point(dx, dy);
    }
    
    mx_internal function getScrollPositionDeltaToAnyElement(element:IVisualElement, topOffset:Number = NaN, 
                                                       bottomOffset:Number = NaN, 
                                                       leftOffset:Number = NaN,
                                                       rightOffset:Number = NaN):Point
    {
        
        var elementR:Rectangle = getChildElementBounds(element);
        return getScrollPositionDeltaToElementHelperHelper(
            elementR, 
            topOffset, bottomOffset, 
            leftOffset, rightOffset);
        

     *  @param rightOffset Number of pixels to position the element to the left of the right edge.
     */ 
    protected function getScrollPositionDeltaToElementHelperHelper(
                                    elementR:Rectangle,
                                    elementLocalBounds:Rectangle,
                                    topOffset:Number = NaN, 
                                    bottomOffset:Number = NaN, 
                                    leftOffset:Number = NaN,
                                    rightOffset:Number = NaN):Point
