fixed zooming issues when initializing and going to search result