change some constant co-ordinates to percentages