Fixed auto-resizing of content to position footer.

Closes #223