move from persent values to px