change the whole layout width and bar width