select text on mouse up