Within the Iframe page.

window.parent.ScrollToTop(); // Scroll to top function


On The parrent page:

window.ScrollToTop = function(){
$('html,body', window.document).animate({
scrollTop: '0px'
}, 'fast');
};