Added infinite scroll and AJAX to the search bar