continuation of layered onMouseDrag