fix moving cursor in follow mode