pagination now works
Merge pull request #8 from Ichus/paginationupdate

pagination now works