The diversion , which came at the tail-end of a whirlwind nine-day tour of Europe , was made for practical reasons , according to Robert Gibbs , Mr Obama 's spokesman - it was close to Istanbul , where the president was winding up his trip and he wanted to visit US troops on the ground there .