Updates auto height on resize

Closes #197