smooth curve using bezierpath
conflict fix