I am using the react native flatlist to render a list. I am detecting the scrollDirection using Flatlist onScroll contentOffset. Depending on the scrollDirection I am hiding