pagination that works :)

@darbyfrey