jQuery check if element is scrolled to (close to Bootstrap affix)