Reseting layout