Feature/prev next page method

add public method prevPage and nextPage.

for using to go to previous page and next page.