The story behind the presidential selfie