tested with complex curves
fixed gesture recognizer
fixed duplicate label