One more fix for responsive gallery layout