Fix #2346:Reset the scroll of the page to the top when page is switched