ToC is hidden when footer is displayed so that they wont overlap