move helpers for activating tabs into nav controller