refactoring Article and Category controller. Finished building infinite scroll for home page. Need to find out how to translate the same code for Category index page.