fix positioning when the autocomplete window collides with window border.
Merge branch 'fix-positioning'

Conflicts:
	js/search-autocomplete.js
	js/search-autocomplete.min.js