header search resizing, autocomplete working