Fix moving to the last page when clicking the button on the navigation bar
Merge pull request #48 from msyk/fixMoveToLastPage

Fix moving to the last page when clicking the button on the navigation bar