fixed remove node in sidebar 

when argument.length is 1, arguments[0] is already deleted node id. 
changed to tmp.parent.id
Merge pull request #76 from easylogic/master

fixed remove node in sidebar