Pagination only displays when total_pages > 1