lateral spacing for gallery