changed gallery legend place to top = more mobile friendly