draggable now accepts func to define dragg acceptance