Fixed issue with the tabpanel not expanding properly when the tabs where wider than the body of the panel.