When lands of different persons which are required to be fenced are bounded or divided by a river, brook, pond, or creek and the occupant of the land on one side of the river, brook, pond, or creek refuses or neglects to join with the occupant of the land on the other side in making a partition fence on one side or the other of the river, brook, pond, or creek or if the occupants of the lands disagree respecting the fence, the parties may apply to two or more of the proper fence viewers to adjust the controversy.