redirecting the gallery