fix search results. image viewer opens automatically when o only a single result is available