mistake was server side, now works. need to adjust client
no more pages, only next or previous, should work fine now. Closes #21
Merge pull request #22 from rcsole/pagination

Fix for pagination