Add a paginate function to collection to assist in slicing arrays.