add mouse events on histobarre