Allow gallery and embed browse previews to be clicked in.

Previously we were closing these previews when the surrounding page was clicked on,
however this also included clicks w/i the preview itself. This commit checks to see
if the click target is inside a preview container before it closes all the previews
on the page.
Merge pull request #899 from sul-dlss/accordion-fix

Allow gallery and embed browse previews to be clicked in.