Added function move_cursor_rel_count and used it