Jquery replace expanded content

Clicking on a gallery item replaces other expanded content. About and
Contact page content centered.