always toggle class
improve react example