Added mouseenter and leave function