Correct vertical positions for main content.