toggle dropdown on click in navigate bar