Add pagination to list of items.