bug fix: in Scroller.js, the commit function now executes if statement when there is a resizing event

Before the fix, this._contextSize was referencing the same array object as context.size instead of context.size's values, so the resizing logic on line 198 was never triggered.