Create a hook called useIsInView that uses the useIntersectionObserver. This hook will return true/false for when the element passed is in view