quickfix for the responsive galleries