click on node and background will toggle sidebar