Refactor the whole _setActive method of the gallery snippet option and make sure only relevant options are shown (for example, disable the column option in slideshow mode or the interval delay for masonry mode). Part of https://github.com/odoo/odoo/pull/36803 task-2070930