implement some mouse event