                 // newIndex + 1 because currently that's what the index 
                 // of the child is (SDK-12622) since this one isn't
                 // actually removed from the display list yet
-                instantiateChild(Container(getChildAt(newIndex+1)));
+                instantiateChild(INavigatorContent(getChildAt(newIndex+1)));
             }
 
             // Select the new selected index header.


        // Performance optimization: don't call createComponents if we know
        // that createComponents has already been called.
        if (child && child.numChildrenCreated == -1)
            child.createComponentsFromDescriptors();

        // Do the initial measurement/layout pass for the newly-instantiated
        // descendants.

        // cache until we're fully initialized.  (bug 102639)
        // This check was moved from the beginning of this function to
        // here to fix bugs 103665/104213.
        if (selectedChild && selectedChild.deferredContentCreated)
            return;

        // Don't remember sizes if we don't have any children
