animate(scrollTop:pos,1500,function()do X)Tags: firefox jquery scrolltop. Related post. Ive build a website for my resume with jQuery for some scroll-based events and animations. The problem is the "Go to top" arrow works fine on Chrome (PC) and Mobile Safari but doesnt seem to work on Firefox.Animate scrollTop not working in firefox. Is it possible to animate scrollTop with jQuery? Animate scrollTop not working in firefox.Its a known problem, Firefox will only accept scrollTop when both body and html are declared. (html,body). animate(scrollTop: (this).parent().offset().