Close class menu if selected class is current class