fix toggle example [docs]