Adjusting the layout