handling item moving on the lisview and tree