Transform the gallery in a perspective