resize the dropdown