How to make page height responsive to element height?

Check this out: