add dragging to objects