Hide left sidebar when all child pages are hidden, reflect in mobile menu