draw sequence toggler in react