             }
             
             if (mode == SlideViewTransitionMode.UNCOVER)
-                setComponentChildIndex(endView, navigator, 0);  
+                setComponentChildIndex(endView, navigator, 0);
         }
         
         var slideDistance:Number;

                startView.y = startViewProps.y;
                
                if (startView.contentGroup)
                {
                    startView.contentGroup.includeInLayout = startViewProps.cgIncludeInLayout;
                    startView.contentGroup.cacheAsBitmap = startViewProps.cgCacheAsBitmap;
                }
            }
            
            if (endView)

        switch (direction)
        {                       
            case ViewTransitionDirection.DOWN:
                animatedProperty = "$y";
                slideDistance = navigator.height;
                slideOffset = -navigator.contentGroup[animatedProperty];
                verticalTransition = true;
                break;
            
            case ViewTransitionDirection.UP:
                animatedProperty = "$y";
                slideDistance = -navigator.height;
                slideOffset = navigator.contentGroup[animatedProperty];
                verticalTransition = true;
                break;
            
            case ViewTransitionDirection.RIGHT:
                animatedProperty = "$x";
                slideDistance = navigator.width;
                break;
            
            case ViewTransitionDirection.LEFT:
            default:
                animatedProperty = "$x";
                slideDistance = -navigator.width;
                break;
        }
