VID-2069 refactor of toggler inside galleries to separate concerns a bit more