Moving copy to another script.
Fixed callback issues.

Callback was happening multiple times and from the wrong point.
Now, there's a callback only when the photo actually moves and
we send the index too that can be used downstream.