completed the search view for search box