animate cursor movement