change margin to use precentages