Due to third-party JavaScript, some store paginations stop scrolling to the top after clicking on pagination links
Script Manager
<script src="https://code.jquery.com/jquery-3.7.1.min.js" integrity="sha256-/JqT3SQfawRcv/BIHPThkBvs0OEvtFFmqPF/lYI/Cxo=" crossorigin="anonymous"></script>
<script>
$(document).ready(function() {
if ($('body').hasClass('category') && $('.main-locomotive').length) {
$('html, body').animate({ scrollTop: 0 }, 'fast');
}
});
</script>