got the draging working with the redraw regions. We need to set the foreignobjects x and y attributes instead of translating its transform attribute