wired MediaCaptureController and NavigationController to handle toggling visibility