add mouseover and mouseout event handler