add element drag for svg-writer.js