enyojs/moonstone — pull request #1798 by aarontam (2014-11-24 20:59:19+00:00)
Title: BHV-18230: Sync ScrollMath when not animating to new scroll position.

### Issue
In a scenario where we have triggered a `requestScrollIntoView` for a control in a list that is placed at some location at the bottom of the place, when we attempt to press the "page up" control, no scrolling occurs. This only occurs where the size of the scrollable content is such that when the "page up" control is pressed, we would need to scroll to the very top of the list, which is effectively a `scrollTop` value of 0. When utilizing `requestScrollIntoView`, we effectively bypass using `ScrollMath.scrollTo` and instead use `MoonScrollStrategy.effectScroll`, which can result in the `ScrollMath` values being out of sync. In this particular scenario, as we had never scrolled before, the `y` value of `ScrollMath` remains at 0, which does not get updated when we focus the scroller and scroll into view the last control. Thus, when we press the "page up" control, we are trying to scroll to the very top, which is a `y` value of 0, which is not different than our current value, resulting in no scrolling action.

### Fix
We make an explicit call to sync `ScrollMath` in `MoonScrollStrategy.scrollTo` when we are not animating the scroll, as this path bypasses `ScrollMath` normally.

Enyo-DCO-1.1-Signed-off-by: Aaron Tam