redirect only if not already on gallery page