export class ScrollToTop {
  run(instruction, next) {
    document.body.scrollTop = 0;
    return next();
  }
}

@@ -55,55 +55,425 @@
     
-document.body.scrollTop = 0;%0A    return next();
+this.scrollSmooth();%0A    return next();%0A  %7D%0A%0A  scrollSmooth() %7B%0A    let element = document.getElementsByTagName('main')%5B0%5D;%0A    let movingFrequency = 15;%0A    let hops = 33;%0A    let gap = element.scrollTop / hops;%0A%0A    for (var i = 1; i %3C= hops; i++) %7B%0A      (function() %7B%0A        setTimeout(() =%3E %7B%0A          element.scrollTop = Math.max(element.scrollTop - gap, 0);%0A        %7D, movingFrequency * i);%0A      %7D)();%0A    %7D
 %0A  %7D

fix scroll to top on routing