Change layout of pictures