fixed passing the query string. So it will keep track of old query and pass back on scroll.