don't pan when dragging other elements, do pan if not a draggable