Adding loader, refresh and infinite scrolling