             
             if (endView)
             {
-                endView.includeInLayout = navigatorProps.endViewIncludeInLayout;
                 endView.contentGroup.cacheAsBitmap = navigatorProps.endViewCacheAsBitmap;
             }
             

        
        if (endView)
        {
            endViewProps = { includeInLayout:endView.includeInLayout,
                cacheAsBitmap:endView.cacheAsBitmap,
                opaqueBackground:endView.opaqueBackground};
            
            endView.includeInLayout = false;
            endView.cacheAsBitmap = true;

            // If the endView has an opaque background color, set that as the 

            navigatorProps.tabBarCacheAsBitmap = tabBar.cacheAsBitmap;
        }
        
        if (startView)
        {
            startViewProps = {  visible: startView.visible,
                                cacheAsBitmap: startView.cacheAsBitmap,
                                opaqueBackground: startView.opaqueBackground };
            
            cachedStartViewGlobalPosition = getTargetNavigatorCoordinates(startView);
        }
    }
    
