Hide dropdowns properly