Added autozoom functionality to the search page depending on the search.