You’re trying to figure out how he flips the selected card over, and he’s already fooled you. That card isn’t turned over at all. It’s the rest of the deck!
Easy, once you know how. (Cue the Screaming Yellow Zonkers box copy: “Your friends will be amazed!”)