Routing for expand and collapse all