The Avengers went back in time to get the stones, but someone had to return them when they were done using them - how did Captain America do it?