Added Pagination to Both Blog and Gallery Indices