update demos
update zoom funcitons. public getPan and getZoom