Improving class names for menu hiding