Added pan zoom ability.