prev next buttons only when required
Merge pull request #3 from changer/feature/good-pagination-buttons

prev next buttons only when required