Fixed size of container

Readjust the size of the container when the main content is smaller than
the annexe content. It was bugged due to changes made in commit 9b2769f.