Is there any way to recreate this vertical word slider in React, without manipulating the DOM? This is my version in vanilla JS https://codepen.io/Yiaoma/pen/WNKzQay