Automatically resize the left-right split and fix hint toggling