autocomplete: reseting position when hiding the list