using hover event instead of click for active states