fixed infinite scrolling - I had to turn the offset in the query from a string to an integer, duh