I am working on a project where i need to listen to the scroll event.. i wonder what is a better approach..
function scr
It worked fine for me
Scroll To Top
http://www.paulund.co.uk/how-to-create-an-animated-scroll-to-top-with-jquery