Animation of contour works by waiting 200ms
Off by 1 Error to fix in drawing