Pagination for all indexviews and controllers
Updated pagination