adding an option to auto-focus final item in autocomplete list
merging in master