         // if we are scrolling (even if we just started scrolling)
         if (isScrolling)
         {
-			if (scroller.textSelectionAutoScrollEnabled)
-			{
-				scroller.setUpTextSelectionAutoScroll();
-				return;
-			}
+            if (scroller.textSelectionAutoScrollEnabled)
+            {
+                scroller.setUpTextSelectionAutoScroll();
+                return;
+            }
 
             // calculate the delta
             var dx:Number = event.stageX - scrollGestureAnchorPoint.x;

        
        return new Point(velX,velY);
    }
	
	/**
	 *  @private
	 *  Helper method to dispatch bubbling events on mouseDownDisplayObject.  Since this 
	 *  object can be off the display list, this may be tricky.  Technically, we should 
	 *  grab all the live objects at the time of mouseDown and dispatch events to them 
	 *  manually, but instead, we just use this heuristic, which is dispatch it to 
	 *  mouseDownedDisplayObject.  If it's not inside of scroller and off the display list,
	 *  then dispatch to scroller as well.
	 * 
	 *  <p>If you absolutely need to know the touch event ended, add event listeners 
	 *  to the mouseDownedDisplayObject directly and don't rely on event 
	 *  bubbling.</p>
	 */
	private function dispatchBubblingEventOnMouseDownedDisplayObject(event:Event):Boolean
	{
		var eventAccepted:Boolean = true;
		if (mouseDownedDisplayObject)
		{
			eventAccepted = eventAccepted && mouseDownedDisplayObject.dispatchEvent(event);
			if (!mouseDownedDisplayObject.stage)
			{
				if (scroller && !scroller.contains(mouseDownedDisplayObject))
					eventAccepted = eventAccepted && scroller.dispatchEvent(event);
			}
		}
		else
		{
			eventAccepted = eventAccepted && scroller.dispatchEvent(event);
		}
		
		return eventAccepted;
	}
	
    /**
     *  @private
     *  When the touchScrollThrow is over, we should dispatch a touchInteractionEnd.

    //--------------------------------------------------------------------------
    
    /**
     *  Scrolls the viewport so the specified element is visible.
     * 
     *  @param element A child element of the container, 
     *  or of a nested container, wrapped by the Scroller.  
     *  
     *  @langversion 3.0
     *  @playerversion Flash 10
     *  @playerversion AIR 2.5
     *  @productversion Flex 4.5
     */ 
    public function ensureElementIsVisible(element:IVisualElement):void
    {   
