Switch toolbar mode on changing to detail view