fix issue with scrolling page during typeahead element selection #1065