jquery scroll page to div top code example
Example 1: jquery scroll to top of div
$('#DIV_ID').scrollTop(0);
Example 2: scroll to top jquery
window.scrollTo({top: 0, behavior: 'smooth'});
reference : https://stackoverflow.com/questions/15935318/smooth-scroll-to-top