margin changes made to gallery