resize the container to match the dropdown on open when dropdownAutoWidth is true