My guess is he swiped the card from the top of the deck before letting the audience shuffle it. He then uses the wall of cards they hold up to avoid them watching him grab it from his pocket.
NIcely done, though, creative use of the glass, and letting the cards block his movements.