Rectifying margins as well as changing background