adding inactive class to the menu