add zoom and pan