Don't scroll to page if the page hasn't not change

Verify that the current page has change before scroll to the new current page.