Update scripts.js

added: require module, scrolling sidebar, image widths.