Added support for tabs on the image gallery