Edit to reshape to improve motion chart
Edit to motion chart code