$(node).viewOffset() is a better alternative to $(node).position() when you want accurate window coordinates