added navbar for galleries- worked, now doesn't work