Fix pane sizing when it's on the right, ensure header pane viewport top is adjusted if the header panel size changes due to a resize.