Changed tree toggle mode to client fixes #126