fixed total width bug in sc_panel