Removed unused and commented out class removal in nav handling.