      *  application to resize itself and fix the scroll position if necessary
      */ 
     private function softKeyboardDeactivateHandler(event:SoftKeyboardEvent):void
-    {
+    {   
         // Adjust the scroll position after the application's size is restored. 
         adjustScrollPositionAfterSoftKeyboardDeactivate();
         oldSoftKeyboardHeight = NaN;

    override protected function focusInHandler(event:FocusEvent):void
    {
        super.focusInHandler(event);
                
        // When we gain focus, make sure the focused element is visible
        if (viewport && ensureElementIsVisibleForSoftKeyboard)
        {

        // 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;
