add active class for children state