Add js snippet to prevent hover triggers on scroll event