VID-1907 Logic to display the new galleries

$key was unused here