Changed detail panel into tab navigator