         
         if (startView)
         {
-            startViewProps = { includeInLayout:startView.includeInLayout,
-                               cacheAsBitmap:startView.cacheAsBitmap,
-                               x:startView.x,
-                               y:startView.y};
-            
-            startView.includeInLayout = false;
+            // Store the original x and y position of the view so that we can restore
+            // it after the animation
+            startViewProps.x = startView.x,
+            startViewProps.y = startView.y;
+            
             startView.cacheAsBitmap = true;
             
             if (startView.contentGroup)

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

        }
        else
        {
            if (tabBar)
            {
                tabBar.includeInLayout = navigatorProps.tabBarIncludeInLayout;
