Adjust splitter when toggling header