pagination: link to previous and next page is now conditional
Merge pull request #43 from IDgis/pagination-fix

pagination: link to previous and next page is now conditional