[js] Implement overlay show/hide on scroll with smart binding/removal based on user mouse position