link toggling for main nav when mobile nav links clicked works