adjust the layout width