Completed and refined pagination for all tabs