autocomplete window now works with mouse