adding active class to sub nav