fixed first and last page buttons
Merge pull request #8 from winedrones/jmej

fixed first and last page buttons