Add the new library sloth to handle the element visible event