We would typically only do that in a notebook as they have greater potential to not remain static. I'm not aware of any other gallery example that does this either...