Subject: Fixed bug in pagination next and previous link

Description:
Merge pull request #7 from nutannivate/package

Subject: Fixed bug in pagination next and previous link