created variables for the active class in the navigation