Use new CSSOM API for smooth scrolling

http://dev.w3.org/csswg/cssom-view/