ggleFolder(folderHeader) {
    const folder = folderHeader.parentElement;
    const folderContents = folderHeader.nextElementSibling;

    if (folder.classList.contains("open")) {
        folder.classList.remove("open");
        folderContents.style.display = "none";
    } else {
        folder.classList.add("open");
        folderContents.style.display = "block";
    }

    // Save the updated state
    saveSideNavState();
}

function saveSideNavState() {
    const navbar = document.getElementById("theSide