Detect intersection by both `isIntersecting` and `intersectionRatio`
Previously we were only looking at the intersectionRatio
being greater than 0 to detect an intersection. Now we also look at the isIntersecting
property with a fallback to intersectionRatio > 0
in browsers that don't have the isIntersecting
property.
Thanks to @Zubrolet for adding this and have a look at #19 for more information 👏