Using jquery mouseenter(handlerIn).mouseleave(handlerOut) instead of hover(handlerIn, handlerOut)