changing navbar to a class