Disable selection when dragging the splitter.

Use preventDefault in mousedown instead of mutating the style
is better to use on-down here for both mouse and touch events