splitter: better way to calculate where to draw the splitter during move