VID-1920 updating front end for expanded galleries