fix nav links style and state