Closed #121 gallery_end setting