swap positions of objects in a scene