Use localStorage for saving state of sidebar (close/open) when available