Implemented smooth lines with bezier curves