removes uinavigationcontroller. switches to uitabbarcontroller.