Hide and show the dropdown