Attempting to fix pagination issue

Accordion content of any content of the page overflows. Trying to fix so
that it remains fixed but there is no overflow of content.