React.js mixin for smoothly scrolling a page