Changed pixels to percents