making percentages instead of px