A diversion. Yes, I think that explains it. If you watch the handshake carefully, Bush starts to break away, but Kerry wouldn't let go of his hand. All eyes are on Bush making himself look a foolish while Kerry focuses on getting out his notes.
Exactly. At that point everyone was focusing on Bush - a perfect opportunity for Kerry to sneak the notes from his pocket....or so he thought.