Move splitter to correct location on resize