Text this: Natural trajectory based FES-induced swinging motion control