separated mouse handlers