implemented active class in the navbar menu