title: how to hide and show a div if it is not hover or clicked after some time
body: <p>I want to show a sticky navbar onScroll and if I stop scrolling and do not click on it or do not hover on it, the navbar will disappear. I add the sticky functionality of the navbar and it works fine. But I am not able to hide if when I am not scrolling and do not click on it or do not hover on it for five seconds.</p>