adding paginator to posts page

fixes #42
Merge pull request #64 from ghost098/master

adding paginator to posts page