Handle navigation active class