reset the layout