ElementInView is a library that allows to know if an element is displayed in the viewport of the client, it's compatible with overflow parents and offset!