Paginate items.