adjusted gallery width