adding panning