modify when drag should happen