Get a callback when any element becomes visible in a viewport (body or custom viewport)