ENH: added some mouse handling