Added functionality on main menu to toggle active items css class