Keep track of collapsed modules

We should keep track of the collapsed modules in de sidebar. This will come in handy when an unauthenticated user wants to continue adding series after being prompted to sign in.
I'm not sure how intensive fetching stuff from localStorage is, but we could cache it, check the variable and then reuse the variable inside of the if.