pagination links should be from same url path, not from root
Merge pull request #167 from bndr/infinite_pagination

fix for #165