turn to pixels from percentages