Set sidebar contents max-height on window resize

Closes #124.