implement visual selection via mouse