VID-1907 Logic to display the new galleries