this is correct and in line with jQuery's implementation of :visible:
http://codepen.io/briznad/pen/vtBwI

however, I changed the logic in the master branch following your original comment:
https://github.com/briznad/whenVisible/blob/master/jquery.whenvisible.js#L39