A utility library for detecting visibility of DOM element