pan on 2d plot