added code for drag and drop feature for demo.