begin to convert from pixels to percentages