supp test in move cursor (bug appears only after computing pith and sliding cursur on max )
cleaning
Merge pull request #35 from kerautret/debugCursor

Debug moveCursor when the slide cursor was on max.