refactored jquery hover with mouseover and mouseout handlers