Calling this function is confusing, because you pass in the container and then query that container.
Scott explained to me that this is because the `contentContainer` may not always be a child of `container`

Is it worth dealing with this in another ticket, or just comment inline why the third param is retrieved by querying the second param.