adjust bar width.