re-binding mouseleave and mouseenter events