elementInViewport(): return false if element is falsey

This is somewhat related to PR #1048 -- you can dismiss this if you'd like as my other fix for the scrolling sidebar won't run into this issue any more.

None the less, I figured it wouldn't hurt to short circuit the RESUtils.elementInViewport function to return false if obj is falsey (e.g. doesn't exist)