width reduction on gallery