added infinite scrolling for search and fixed loading animation