worked again on image dragging