Beta-strand flipping and slipping triggered by turn replacement reveal the opportunistic nature of beta-strand pairing.