[ALLI-2225] Gallery view improvements.