This demo is mostly to show that the object-position can be animated. For a simple panning effect, using a transform: translateX(...px) would accomplish the same effect and prepareImageAnimation would be overkill.
object-position
transform: translateX(...px)
prepareImageAnimation