Hide footer if content is not available in footer