Import the original code.
Rework the pan-zoom controller and demo.