         // clamp the values here
         newHSP = Math.min(Math.max(newHSP, -viewportWidth), maxWidth+viewportWidth);
         newVSP = Math.min(Math.max(newVSP, -viewportHeight), maxHeight+viewportHeight);
-            
+		
         viewport.horizontalScrollPosition = newHSP;
         viewport.verticalScrollPosition = newVSP;
     }

    {
        var xMove:int = 0;
        var yMove:int = 0;
        
        if (scrollerLayout && scrollerLayout.canScrollHorizontally)
            xMove = dragX;
        

        // if we are scrolling (even if we just started scrolling)
        if (isScrolling)
        {
			if (scroller.textSelectionAutoScrollEnabled)
			{
				scroller.setUpTextSelectionAutoScroll();
				return;
			}

            // calculate the delta
            var dx:Number = event.stageX - scrollGestureAnchorPoint.x;
            var dy:Number = event.stageY - scrollGestureAnchorPoint.y;
