updating how we calculate height when dom doesn't have any