Add cookie to keep the state of side menu