get zoom/pan working