VID-1932 Support expand option for gallery

Do we need to pass `mData['params']` in here?  The `renderMediaGallery` instance method can access this data member directly.