What is an actual working method to get page height to dynamically match visible content?

I think this was already covered here