routes gallery and gallery type changes