added the router. + listening to remove and toggle events