Drag a layer to adjust the layout