Fix pagination algorithm and formatting

Changed algorithm for fetching additional folder items to be based off of offset/limit instead of size of collection returned.