change width to percentage