updated margins for smaller images