elementInViewport(): return false if element is falsey
Merge pull request #1049 from bronzle/elementInViewport

elementInViewport(): return false if element is falsey