dragZoom: optimise - only declare necessary instance methods, and guard against redeclaring them unnecessarily