Fixing creation of tree just when the style is tree view
Adding drog and drop feature. Initial version