 
         var i0:int = findIndexAt(x0 + gap, gap, g, 0, n);
         var i1:int = findIndexAt(x1, gap, g, 0, n);
-
         // Special case: no item overlaps x0, is index 0 visible?
         if (i0 == -1)
         {   

        var li:ILayoutItem = g.getLayoutItemAt(index);
        if ((li == null) || !li.includeInLayout)
            return 0.0;
            
        var c0:int = firstIndexInView; 
        var c1:int = lastIndexInView;

                break;

            case ScrollUnit.PAGE_RIGHT:
                if ((itemR.left <= scrollR.left) && (itemR.right > scrollR.right))
                    delta = Math.min(scrollR.width, itemR.right - scrollR.right);
                else
                    delta = itemR.left - scrollR.left;
