properly mark activities as unexpanded when we toggle another activity