implemented negativeMargin