multiple draggable objects with function pointer callbacks