added inorder text and changed so it loops with "traverse" click