changed px to percentages