Fixed bug where multiple sections are open at a time