You can specify a short version of the title for the headers and the
table of contents in the optional argument of the \section macro:
\section[short title]{long title}