add hover event handler