Adding Pagination and infinit scrolling….not working