makes flame chart draggable

also moves some common stuff to base class (_dragTarget, mouse wheel handler)