fix bug in rendering search result, scroll to top when performing new search