support for panning the view on the box2d canvas