Crowds gasped at the surprise ending to the Opening Ceremony