Applying a left or right move direction for infinite sliding when clicing on a marker rather than always to the right