Add options for onMouseEnter and onMouseLeave function