tweaked gallery shortcode for captions