Gallery changes

This adds an option for a "mini" gallery, which removes some of the photo resizing logic of the current gallery. It also adds some styling for previously added options of captions and thumbnails.