fix typeahead position in relative element