I do not understand why the scrollTop() jquery function is not working on the \'body\' element on Firefox.
$(\'body\').scrollTop(0);
I fixe
try this:
your div to scroll:
and scroll top js:
$('html,body').animate({scrollTop: $('#top').offset().top},'slow');