changing nav to class