made pan scale as a function of distance to center
0.0.1