Visualizing the formation of an RNA folding intermediate through a fast highly modular secondary structure switch