restore pre-roots update gallery, fixes #58

`lib/gallery.php` was switched to using bootstrap grid classes in
commit 90310aa42