simulate mouseout and mouseover events