fixing segmented control so that it appears correct when only a single segment is present