add mouse select support