add mouse events for drag, enter and leave