remove excess classes from navigation