hide the previous and next button when there is only one page.
Merge pull request #71 from androidli/master

hide the previous and next button when there is only one page.