basic zoom handler for tree diagram