Fix sidebar collapsed/expanded cookie reload