Controlling the trigger events for hover vs click