How do I get the scrollTop() of a page I am currently inside?

How do I get the scrollTop() of a page I am currently inside?

Inside a touchmove event I'm trying to figure out how far I have scrolled inside a page, but if I call $( element).scrollTop, on literally anything on the page I get 0 returned.

I've tried $( element).scrollTop on:

window
document
"html"
"body"
"#feed" (the id of my page)
"#feed > div" (the content div of my page)

All of these return scrollTop of 0.  I'm stumped.  Would anyone know the reason why it always returns 0, and how I can determine how far I have scrolled on a page?

Thanks!