import Ember from 'ember';

export default Ember.Controller.extend({
  checkMenuState: function () {
    const toggler = Ember.$('#menu .toggle');

    if (toggler.hasClass('on')) {
      Ember.$('#menu .high').slideToggle(300);
      toggler.toggleClass('on');
    }
  }.observes('currentPath')
});

@@ -19,16 +19,37 @@
 'ember';
+%0Aconst %7B $ %7D = Ember;
 %0A%0Aexport
@@ -135,22 +135,16 @@
 ggler = 
-Ember.
 $('#menu
@@ -156,16 +156,79 @@
 gle');%0A%0A
+    $('html, body').animate(%7B%0A      scrollTop: 0%0A    %7D, 300);%0A%0A
     if (
@@ -257,20 +257,14 @@
 ) %7B%0A
+
       
-Ember.
 $('#

Reset scroll position