There is a discussion on how to implement “peeking” the top cards of a deck that might help you here: