working view buttons for search results