title: Magento: Checkout scrolling to top of page
body: <p>We got a problem that when a next step is loading inside the one page checkout, the page is not scrolling to the top.</p>
  
  <p>If a person enters all their data on the billing step and clicks on the continue button, the next step is loading on half way of the page. Based on the last position in the previous step. </p>
  
  <p>I want that every step inside the one page checkout begins from the top of the page.</p>
  
  <p>I currently got this inside opcheckout.js:</p>
  
  <pre><code>gotoSection: function(section)
  {
      var sectionElement = $('opc-'+section);
      sectionElement.addClassName('allow');
      this.accordion.openSection('opc-'+section);
      this.reloadProgressBlock(section);
      jQuery("html, body").delay(10).animate({scrollTop: jQuery("#opc-"+section).offset().top }, 500);
  },
  </code></pre>
  
  <p>But that does not work well, because we use a fixed header. <br>
  So how can I fix this, that it will go to the absolute top of the page?</p>