added tree collapse demo and some other demos