created seperate canvas for bezier curve