adding panning buttons