Young adult book I read in the late 1970s/early 80s about kids who find out a large tree is a time machine traveling in 50-year increments. Their parents went into it (I think?) and in the end they decide to go into it as well knowing when they come back everybody will be older.