window.scroll({ top: 0, left: 0, behavior: 'smooth' });
$("a[href='#top']").click(function() { $("html, body").animate({ scrollTop: 0 }, "slow"); return false; });
window.scrollTo({top: 0, behavior: 'smooth'}); reference : https://stackoverflow.com/questions/15935318/smooth-scroll-to-top
window.scrollTo(x-coord, y-coord);
$('#DIV_ID').scrollTop(0);
$("#scroll_icon").click(function() { jQuery('html,body').animate({scrollTop:0},2000); })
window.scrollTo({top: 0, behavior: 'smooth'});