modify the drag and tree part in the bg page.