fixes and widgetizing galleryh 1 theme