reset photo min-height on orientation change
setting up canvas on frontpage, adding window var for galleryJSON to avoid errors