add active state for nav items