The wrong page was sometimes displayed when scrolling backwards or forwards after setting the current page programmatically