working autocomplete with images
refactor nav view code