Logic for nav active states.