Resizing and positioning of search result