Refactored resetScroll to a pageChange option