title: YUI 3.10 Simple scroll animation
body: <p>We moved our project to latest YUI version and some problem which should be trivial became night mare.</p>
  
  <p>Goal: Click on 'back to top' element need to move our users to top element</p>
  
  <p>Animated Scroll inside Firefox doesn't work any more. There is the code:</p>
  
  <pre><code>navElem.on('click', function(el){
      var y = 1000;
      anim.set('to', { scroll: [0, y - Y.one('.fixed_header').get('scrollHeight')] });
      anim.run();
  });
  </code></pre>
  
  <p>This code works in Google Chrome.</p>
  
  <p>I have read somewhere that '<code>scroll</code>' as <code>anim</code> option was removed with new version.
  If we can't use <code>anim</code> anymore, how can we created an animated scroll?</p>