I want to detect the scroll up event (to refresh data, like facebook app)
Currently, i'm using ontouchend, and check if document.body.scrollTop is above 0px
But it's not perfect.. is there any trick to do that without jquery or external javascript code ?