coded infinite pagination for mobile app (modified home.html, books_controller.js & books_service.js)