Add script for generating gallery.js
Specify sidebar header in percent to align with photo