Fixed gallery recursion errors; the gallery images are now hidden by default, so they don't flash when the page is loaded.
Closes #17858
Removed gallery scripts that are already implemented in the EEA design elements.
References #17858