Changing size of layout display