made autocomplete search history dropdown