Update scripts.js

Added scripts for the gallery and accordions