changed history tree invisible toggle to removeClass