change the layout of each tile