changing px to %