only show pagination if needed
Merge pull request #53 from Kunstmaan/fix/pagination

only show pagination if needed