fixed gallery frame padding issue with box-sizing