gallery fixes

border box