Is it possible to have an animation play only when the element is in view on the page in vanilla JS? I have the code below for a text reveal animation but I\'m not sure what Im