Get the panelWidth values right