Added in zoom/pan behavior.