changed media queries on gallery