added a gallery view to search results and links to gallery