add curve navigation with p, n and remove di cursor