Generalized previous implementation of text cursor.
Used left edge values and cursor positions.
Implemented what is actually needed.
(that is when moving leftward in a already slid row from rightmost position
cursor should not slide, but cursor should move left)