updated width of layout view