converting fixed px to %