using localstorage for the sidebar is bad