Extract hover events to another class