change layout of pics