Created JustifiedGallery wrapper.