fix responsive gallery