scroll back to top ajaxcomplete code example
Example: scroll page to top after ajax success
$('body').ajaxSuccess(function() {
$('html, body').animate({ scrollTop: 0 }, 'slow');
});
$('body').ajaxSuccess(function() {
$('html, body').animate({ scrollTop: 0 }, 'slow');
});