Added active class generator to nav