Updated to latest gallery (4.5) and made minor tweaks to theme style and javascript to accommodate the changes.