Infinite scroll and pagination are working