add mouse leave listener

see code