added margin to gallery