Fixes #194 - handles return button when visiting detail directly

In order to maintain the state of a particular URL and to ensure the
"return to results" button and search results map show up on a details
view, a query search is performed when visiting the detail view
directly.