I agree that the main topic should be in the middle of the essay and preferably through the whole paragraph, but I personally think that most of the main idea should be in the beginning of the essay and the end of the essay. And the facts to support the main idea should be in the middle. Then conclude with, your conclusion and, the main idea.