ensures scroll bounds aren't calculated until the container has been rendered