Breakout common.js from gallery.js, ensure content-wrapper is tall enough.