     private function snapContentScrollPosition(snapHorizontal:Boolean = true, snapVertical:Boolean = true):void
     {
         if (snapHorizontal)
-        {
-            viewport.horizontalScrollPosition = getSnappedPosition( 
-                Math.min(Math.max(minHorizontalScrollPosition, viewport.horizontalScrollPosition), maxHorizontalScrollPosition),
-                HORIZONTAL_SCROLL_POSITION);
+    {
+        viewport.horizontalScrollPosition = getSnappedPosition( 
+            Math.min(Math.max(minHorizontalScrollPosition, viewport.horizontalScrollPosition), maxHorizontalScrollPosition),
+            HORIZONTAL_SCROLL_POSITION);
         }
 
         if (snapVertical)
         {
-            viewport.verticalScrollPosition = getSnappedPosition( 
-                Math.min(Math.max(minVerticalScrollPosition, viewport.verticalScrollPosition), maxVerticalScrollPosition),
-                VERTICAL_SCROLL_POSITION);
-        }
+        viewport.verticalScrollPosition = getSnappedPosition( 
+            Math.min(Math.max(minVerticalScrollPosition, viewport.verticalScrollPosition), maxVerticalScrollPosition),
+            VERTICAL_SCROLL_POSITION);
+    }
     }
     
     /**

                    position -= offset;
                else
                    position += viewportWidth - offset;
            }
            else if (canScrollVertically && propertyName == VERTICAL_SCROLL_POSITION && viewportHeight != 0)
            {

                // require changing directions relative to the current throw,
                // which looks strange.
                throwEffect.stop();
                snapContentScrollPosition();
            }
            else
            {
