add pagination to tasks list