Gallery: add hide-overlay option.