Sensor component for React that notifies you when it goes in or out of the window viewport.