added js so that user and navbar dropdowns won't show up at same time