add mouse behavior